<?php

    

    function substrbetween( $str, $after, $before = false ) {
        $start = strpos( $str, $after ) + strlen( $after );
        if ( $before ) {
            $end = strpos( $str, $before );
            return substr( $str, $start, $end - $start );
        }
        return substr( $str, $start );
    }

    class ElementDeveloperPrivileges extends Element {
        public function Render() {
            var_dump( UserHasPrivilege( 'CREATE' ) );
        }
    }

?>
